const { createClient } = require('redis')

// redis[s]://[[username][:password]@][host][:port][/db-number]
const HOST_URL = process.env.REDIS_HOST_URL

module.exports = createClient({
  url: HOST_URL, // 'redis://alice:foobared@awesome.redis.server:6380'
})
